<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="decorator" uri="http://www.opensymphony.com/sitemesh/decorator" %>
<%@ taglib uri="http://www.springframework.org/security/tags" prefix="security" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title><decorator:title default="小U订车位"/></title>

  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta name="description" content="">
  <meta name="author" content="">

  <link rel="stylesheet" href="../static/assets/css/bootstrap.min.css">
  <link rel="stylesheet" href="../static/assets/css/fonts.css">
  <link rel="stylesheet" href="../static/assets/font-awesome/css/font-awesome.min.css">

  <link href="../static/assets/css/plugins/daterangepicker/daterangepicker-bs3.css" rel="stylesheet">
  <link href="../static/assets/css/plugins/morris/morris.css" rel="stylesheet">
  <link rel="stylesheet" href="../static/assets/css/plugins/bootstrap-datepicker/datepicker.css">

  <link rel="stylesheet" type="text/css" href="../static/assets/css/plugins/gritter/jquery.gritter.css" />
  <link id="qstyle" rel="stylesheet" href="../static/assets/css/themes/style.css">
  <link rel="stylesheet" href="../static/assets/css/only-for-demos.css">
  <link rel="stylesheet" href="../css/customs.css">
  <!--[if lt IE 9]>
  <script src="../static/assets/js/html5shiv.js"></script>
  <script src="../static/assets/js/respond.min.js"></script>
  <![endif]-->

  <!--[if lte IE 8]>
  <script src="../static/assets/js/plugins/easypiechart/easypiechart.ie-fix.js"></script>
  <![endif]-->
  <script src="../static/assets/js/jquery.min.js"></script>
  <script src="../static/assets/js/bootstrap.min.js"></script>
  <script src="../static/assets/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
  <script src="../static/assets/js/plugins/pace/pace.min.js"></script>
  <script src="../static/assets/js/plugins/jqueryui/jquery-ui.custom.min.js"></script>
  <script src="../static/assets/js/main.js"></script>
  <decorator:head/>
</head>

<body>
<div id="wrapper">
  <div id="main-container" class="container">
    <nav class="navbar-top container" role="navigation">
      <div class="navbar-header">
        <button type="button" class="navbar-toggle pull-right" data-toggle="collapse" data-target=".top-collapse">
          <i class="fa fa-bars"></i>
        </button>
        <div class="navbar-brand">
          <a href="/backend/dashboard">小U订车位</a>
        </div>
      </div>
      <div class="nav-top">
        <ul class="nav navbar-right">
          <li class="dropdown">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".sidebar-collapse">
              <i class="fa fa-bars"></i>
            </button>
          </li>
          <li class="dropdown user-box">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <img class="img-circle" src="../static/assets/images/user.jpg" alt=""> <span class="user-info"><security:authentication property="principal.name"/></span> <b class="caret"></b>
            </a>
            <ul class="dropdown-menu dropdown-user">
              <li>
                <a href="/j_spring_security_logout">
                  <i class="fa fa-power-off"></i> 退出
                </a>
              </li>
            </ul>
          </li>
        </ul>
        <div class="collapse navbar-collapse top-collapse">
          <c:set value="${pageContext.request.servletPath}" var="requestURI"/>

          <!-- .nav -->
          <ul class="nav navbar-left navbar-nav">
            <li<c:if test="${fn:contains(requestURI, '/backend/dashboard')}"> class="active" </c:if>>
              <a href="/backend/dashboard">首页</a></li>
            <li class="dropdown<c:if test="${fn:contains(requestURI, '/backend/parkoverview') or fn:contains(requestURI, '/backend/parkform') or fn:contains(requestURI, '/backend/parkdetail')}"> active </c:if>">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                停车场管理<b class="caret"></b>
              </a>
              <ul class="dropdown-menu">
                <li><a href="/backend/parkoverview">停车场信息列表</a></li>
                <li><a href="/backend/parkform">增加停车场信息</a></li>
              </ul>
            </li>
            <li
              <c:if test="${fn:contains(requestURI, '/backend/driversoverview') or fn:contains(requestURI, '/backend/driverdetails')}"> class="active" </c:if>><a href="/backend/driversoverview">车主管理</a>
            </li>
            <li class="dropdown<c:if test="${fn:contains(requestURI, '/backend/cityoverview') or fn:contains(requestURI, '/backend/cityform') or fn:contains(requestURI, '/backend/citydetail')}"> active </c:if>">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                城市管理<b class="caret"></b>
              </a>
              <ul class="dropdown-menu">
                <li><a href="/backend/cityoverview">城市列表信息</a></li>
                <li><a href="/backend/city">增加城市信息</a></li>
              </ul>
            </li>
          </ul>
        </div>
      </div>
    </nav>
    <div id="page-wrapper">
      <decorator:body/>
    </div>
    <div class="footer">
      <div class="footer-inner">
        <div class="footer-content container">
          &copy; 2015 <a href="#">Uwantsoft</a>, All Rights Reserved.
        </div>
      </div>
    </div>
    <button type="button" id="back-to-top" class="btn btn-primary btn-sm back-to-top">
      <i class="fa fa-angle-double-up icon-only bigger-110"></i>
    </button>
  </div>
</div>



<!-- core JavaScript -->
<%--<script src="../static/assets/js/jquery.min.js"></script>--%>
<%--<script src="../static/assets/js/bootstrap.min.js"></script>--%>
<%--<script src="../static/assets/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>--%>
<%--<script src="../static/assets/js/plugins/pace/pace.min.js"></script>--%>

<!-- PAGE LEVEL PLUGINS JS -->
<%--<script src="../static/assets/js/plugins/jqueryui/jquery-ui.custom.min.js"></script>--%>
<%--<script src="../static/assets/js/plugins/jqueryui/jquery.ui.touch-punch.min.js"></script>--%>
<%--<script src="../static/assets/js/plugins/daterangepicker/moment.js"></script>--%>
<%--<script src="../static/assets/js/plugins/daterangepicker/daterangepicker.js"></script>--%>
<%--<script src="../static/assets/js/plugins/morris/raphael-min.js"></script>--%>
<%--<script src="../static/assets/js/plugins/morris/morris.min.js"></script>--%>
<%--<script src="../static/assets/js/plugins/bootstrap-datepicker/bootstrap-datepicker.js"></script>--%>
<%--<script src="../static/assets/js/plugins/jquery-sparkline/jquery.sparkline.min.js"></script>--%>
<%--<script src="../static/assets/js/plugins/easypiechart/jquery.easypiechart.min.js"></script>--%>
<%--<script src="../static/assets/js/plugins/easypiechart/excanvas.compiled.js"></script>--%>
<%--<script src="../static/assets/js/plugins/jvectormap/jquery-jvectormap-1.2.2.min.js"></script>--%>
<%--<script src="../static/assets/js/plugins/jvectormap/jquery-jvectormap-world-mill-en.js"></script>--%>

<!-- Themes Core Scripts -->
<%--<script src="../static/assets/js/main.js"></script>--%>

<!-- REQUIRE FOR SPEECH COMMANDS -->
<%--<script src="../static/assets/js/speech-commands.js"></script>--%>
<%--<script src="../static/assets/js/plugins/gritter/jquery.gritter.min.js"></script>--%>

<!-- initial page level scripts for examples -->
<%--<script src="../static/assets/js/plugins/slimscroll/jquery.slimscroll.init.js"></script>--%>
<%--<script src="../static/assets/js/home-page.init.js"></script>--%>
<%--<script src="../static/assets/js/plugins/jquery-sparkline/jquery.sparkline.init.js"></script>--%>
<%--<script src="../static/assets/js/plugins/easypiechart/jquery.easypiechart.init.js"></script>--%>
</body>
</html>